package com.liy.supercloud.ssoclient.config;

import feign.Contract;
import feign.Logger.Level;
import feign.jaxrs.JAXRSContract;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class JaxrsFeignConfiguration {

    @Bean({"JAXRSContract"})
    public Contract feignContract() {
        return new JAXRSContract();
    }

    @Bean
    Level feignLoggerLevel() {
        return Level.FULL;
    }
}
